$OpenBSD: patch-WPrefs_app_Paths_c,v 1.3 2005/11/01 17:28:34 wilfried Exp $
--- WPrefs.app/Paths.c.orig	Tue Oct 12 22:18:33 2004
+++ WPrefs.app/Paths.c	Mon Oct 31 18:56:11 2005
@@ -86,8 +86,8 @@ showData(_Panel *panel)
         addPathToList(panel->icoL, -1, "~/pixmaps");
         addPathToList(panel->icoL, -1, "~/GNUstep/Library/Icons");
         addPathToList(panel->icoL, -1, "/usr/include/X11/pixmaps");
-        addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Icons");
-        addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Pixmaps");
+        addPathToList(panel->icoL, -1, "%%PREFIX%%/share/WindowMaker/Icons");
+        addPathToList(panel->icoL, -1, "%%PREFIX%%/share/WindowMaker/Pixmaps");
         addPathToList(panel->icoL, -1, "/usr/share/WindowMaker/Icons");
     } else {
         for (i=0; i<WMGetPropListItemCount(array); i++) {
@@ -102,7 +102,7 @@ showData(_Panel *panel)
             wwarning(_("bad value in option PixmapPath. Using default path list"));
         addPathToList(panel->pixL, -1, "~/pixmaps");
         addPathToList(panel->pixL, -1, "~/GNUstep/Library/WindowMaker/Pixmaps");
-        addPathToList(panel->pixL, -1, "/usr/local/share/WindowMaker/Pixmaps");
+        addPathToList(panel->pixL, -1, "%%PREFIX%%/share/WindowMaker/Pixmaps");
     } else {
         for (i=0; i<WMGetPropListItemCount(array); i++) {
             val = WMGetFromPLArray(array, i);
